package com.zkthink.ceres.order.dto.comment;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@ApiModel("查询商详或店铺的评论列表对象")
@Data
public class QueryProductOrStoreCommentDTO implements Serializable {

    @ApiModelProperty("查询目标对象类型 1-商品 2-店铺")
    private Integer queryType;

    @ApiModelProperty("queryType=1，代表商品id， queryType=2 代表店铺id")
    private Long queryId;

    @ApiModelProperty("查询类型 1-全部 2-有图")
    private Integer type;

    @ApiModelProperty(value = "是否需要关键词 1-是 0-否",notes = "商详页面需要查关键词，具体商品的评论列表或者店铺的评论列表不需要关键词")
    private Integer needKeywordList;

    @ApiModelProperty("关键词id")
    private Long keywordId;

    @ApiModelProperty("当前用户id")
    private Long mid;

    @ApiModelProperty("页码")
    private Integer pageIndex;

    @ApiModelProperty("每页大小")
    private Integer pageSize;

    @ApiModelProperty(value = "其实行",hidden = true)
    private Integer start;

}
